docs: Copy GtkSizeGroup ownership discussion to GtkWindowGroup
authorEvan Martin <martine@danga.com>
Fri, 12 Nov 2010 18:43:20 +0000 (10:43 -0800)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 19 Nov 2010 14:24:02 +0000 (09:24 -0500)
The two behave identically, so the text is the same with s/size/window/.

docs/reference/gtk/tmpl/gtkwindowgroup.sgml

index 71bd142abd2f6bc48f117c859cf0fd19374e7f78..93368142ec974aa6221268998d7cc82735d1b0b0 100644 (file)
@@ -6,7 +6,13 @@ Limit the effect of grabs
 
 <!-- ##### SECTION Long_Description ##### -->
 <para>
-
+#GtkWindowGroup objects are referenced by each window in the group,
+so once you have added all windows to a #GtkWindowGroup, you can drop
+the initial reference to the window group with g_object_unref(). If the
+windows in the window group are subsequently destroyed, then they will
+be removed from the window group and drop their references on the window
+group; when all window have been removed, the window group will be
+freed.
 </para>
 
 <!-- ##### SECTION See_Also ##### -->